package cn.com.wangluotongxin.service.service;

import cn.com.wangluotongxin.admin.model.AdminSmsPush;
import cn.com.wangluotongxin.admin.model.constants.SmsAppInfo;
import cn.com.wangluotongxin.common.eureka.constants.SmsPushContent;
import cn.com.wangluotongxin.common.eureka.constants.SmsTemplate;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 网络通信-管理端-短信发送 服务类
 * </p>
 *
 * @author AutoGenerator
 * @since 2024-01-15
 */
public interface IAdminSmsPushService extends IService<AdminSmsPush> {

    void addCodeSms(SmsAppInfo appInfo, SmsTemplate smsTemplate, String phone, Integer expireTime, String code);

    void addSms(SmsAppInfo appInfo, SmsPushContent pushContent);

    void sendSmsError(Integer id, String failInfo);
}
